package com.itheima.stock.servier;

import com.itheima.stock.pojo.dommain.InnerMarketDomain;
import com.itheima.stock.pojo.dommain.Stock4EvrDayDomain;
import com.itheima.stock.pojo.dommain.Stock4MinuteDomain;
import com.itheima.stock.pojo.dommain.StockUpdownDomain;
import com.itheima.stock.vo.resp.PageResult;
import com.itheima.stock.vo.resp.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface StockService {
    public R<List<InnerMarketDomain>> getInnerMarket();

    R<PageResult<StockUpdownDomain>> getStockInfoByPage(Integer page, Integer pageSze);


    R<List<StockUpdownDomain>> getStockInfoHome();

    R<Map<String, List>> getStockUpDown();

    void exportStockUpDownInfo(Integer page, Integer pageSze, HttpServletResponse response);

    R<Map<String, List>> getComparedSockTradeAmt();

    R<Map> getIncreaseRangInfo();

    R<List<Stock4MinuteDomain>> getStockScreenTimeSharing(String stockCode);

    R<List<Stock4EvrDayDomain>> getStockScreenDkLine(String stockCode);
}
